import request from '@/utils/request'


//查询
export function khList(data) {
	return request({
		url: '/stu/examine/list',
		method: 'get',
		params: data
	})
}


// 添加考核记录

export function addJL(data) {
	return request({
		url: '/stu/examine/record/add',
		method: 'POST',
		data
	})
}

// 查询考核图谱

export function getTp(data) {
	return request({
		url: '/stu/examine/atlas',
		method: 'get',
		params: data
	})
}
// 获取考核图片
export function getTplist(data) {
	return request({
		url: '/stu/examine/atlas/Info',
		method: 'get',
		params: data
	})
}
// 未完成接口

// 考核结果临时保存
export function lssava(data) {
	return request({
		url: '/stu/examine/save/provisional',
		method: 'POST',
		data
	})
}
// 提交考核结果最终 保存记录 交卷
export function saveKh(data) {
	return request({
		url: '/stu/examine/save',
		method: 'POST',
		data
	})
}

// 放弃考核 
export function waive(data) {
	return request({
		url: '/stu/examine/waive',
		method: 'GET',
		params: data
	})
}
//  获取意外退出时 已经保存的接口信息

export function getInput(data) {
	return request({
		url: '/stu/examine/already/input',
		method: 'get',
		params: data
	})
}
// 考核记录列表
export function getrecordlist(data) {
	return request({
		url: '/stu/examine/record/list',
		method: 'get',
		params: data
	})
}
// 查询考核详情 
export function getkhxq(data) {
	return request({
		url: '/stu/examine/record/details',
		method: 'get',
		params: data
	})
}